home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 92 / CDMM92_1.ISO / SOF 2 SDK / sof2sdk-101.msi / _92D6AC311BB48EBA344BBABC89DA6AB0 / _70B994D6074A4B18B4621B6857BA6515 < prev    next >
Encoding:
Text File  |  2002-05-16  |  1.9 KB  |  88 lines

  1. @set include=
  2.  
  3. del /q vm
  4. mkdir vm
  5. cd vm
  6. set cc=..\..\..\bin\sof2lcc -A -DQ3_VM -DMISSIONPACK -S -Wf-target=bytecode -Wf-g -I..\..\cgame -I..\..\game -I..\..\ui %1
  7.  
  8. %cc%  ../g_main.c
  9. @if errorlevel 1 goto quit
  10.  
  11. %cc%  ../g_syscalls.c
  12. @if errorlevel 1 goto quit
  13.  
  14. %cc%  ../bg_misc.c
  15. @if errorlevel 1 goto quit
  16. %cc%  ../bg_lib.c
  17. @if errorlevel 1 goto quit
  18. %cc%  ../bg_pmove.c
  19. @if errorlevel 1 goto quit
  20. %cc%  ../bg_slidemove.c
  21. @if errorlevel 1 goto quit
  22. %cc%  ../bg_player.c
  23. @if errorlevel 1 goto quit
  24. %cc%  ../bg_weapons.c
  25. @if errorlevel 1 goto quit
  26. %cc%  ../bg_gametype.c
  27. @if errorlevel 1 goto quit
  28. %cc%  ../q_math.c
  29. @if errorlevel 1 goto quit
  30. %cc%  ../q_shared.c
  31. @if errorlevel 1 goto quit
  32.  
  33. %cc%  ../ai_main.c
  34. @if errorlevel 1 goto quit
  35. %cc%  ../ai_util.c
  36. @if errorlevel 1 goto quit
  37. %cc%  ../ai_wpnav.c
  38. @if errorlevel 1 goto quit
  39.  
  40. %cc%  ../g_active.c
  41. @if errorlevel 1 goto quit
  42. %cc%  ../g_antilag.c
  43. @if errorlevel 1 goto quit
  44. %cc%  ../g_bot.c
  45. @if errorlevel 1 goto quit
  46. %cc%  ../g_client.c
  47. @if errorlevel 1 goto quit
  48. %cc%  ../g_cmds.c
  49. @if errorlevel 1 goto quit
  50. %cc%  ../g_combat.c
  51. @if errorlevel 1 goto quit
  52. %cc%  ../g_gametype.c
  53. @if errorlevel 1 goto quit
  54. %cc%  ../g_items.c
  55. @if errorlevel 1 goto quit
  56. %cc%  ../g_misc.c
  57. @if errorlevel 1 goto quit
  58. %cc%  ../g_missile.c
  59. @if errorlevel 1 goto quit
  60. %cc%  ../g_mover.c
  61. @if errorlevel 1 goto quit
  62. %cc%  ../g_session.c
  63. @if errorlevel 1 goto quit
  64. %cc%  ../g_spawn.c
  65. @if errorlevel 1 goto quit
  66. %cc%  ../g_svcmds.c
  67. @if errorlevel 1 goto quit
  68. %cc%  ../g_target.c
  69. @if errorlevel 1 goto quit
  70. %cc%  ../g_team.c
  71. @if errorlevel 1 goto quit
  72. %cc%  ../g_trigger.c
  73. @if errorlevel 1 goto quit
  74. %cc%  ../g_utils.c
  75. @if errorlevel 1 goto quit
  76. %cc%  ../g_weapon.c
  77. @if errorlevel 1 goto quit
  78.  
  79. ..\..\..\bin\sof2asm -f ../game
  80. @if errorlevel 1 goto quit
  81.  
  82. mkdir "..\..\..\base\vm"
  83. copy *.map "..\..\..\base\vm"
  84. copy *.qvm "..\..\..\base\vm"
  85.  
  86. :quit
  87. cd ..
  88.